home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / ButtonControl.as < prev    next >
Text File  |  2011-09-19  |  3KB  |  91 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    var _loc2_ = f.h = function()
  28.    {
  29.    }[┬º┬ºconstant(4)];
  30.    f.h = function()
  31.    {
  32.    }[┬º┬ºconstant(5)] = function(btn, lbl)
  33.    {
  34.       f.h[┬º┬ºconstant(6)](btn,lbl);
  35.       btn[┬º┬ºconstant(7)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(8)],btn);
  36.       btn[┬º┬ºconstant(12)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(13)],btn);
  37.       btn[┬º┬ºconstant(14)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(13)],btn);
  38.       btn[┬º┬ºconstant(16)](┬º┬ºconstant(15));
  39.    };
  40.    f.h = function()
  41.    {
  42.    }[┬º┬ºconstant(6)] = function(btn, lbl)
  43.    {
  44.       btn[┬º┬ºconstant(17)] = lbl;
  45.       btn[┬º┬ºconstant(18)][┬º┬ºconstant(19)] = lbl;
  46.    };
  47.    f.h = function()
  48.    {
  49.    }[┬º┬ºconstant(20)] = function(btn, evtTar, evtFunc, evtArgs)
  50.    {
  51.       btn[┬º┬ºconstant(21)] = 100;
  52.       btn[┬º┬ºconstant(22)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](evtTar,evtFunc,evtArgs);
  53.       btn[┬º┬ºconstant(7)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(8)],btn);
  54.       btn[┬º┬ºconstant(12)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(13)],btn);
  55.       btn[┬º┬ºconstant(14)] = f[┬º┬ºconstant(9)][┬º┬ºconstant(10)][┬º┬ºconstant(11)](f.h,f.h[┬º┬ºconstant(13)],btn);
  56.    };
  57.    f.h = function()
  58.    {
  59.    }[┬º┬ºconstant(8)] = function(btn)
  60.    {
  61.       btn[┬º┬ºconstant(16)](┬º┬ºconstant(23));
  62.       f.h[┬º┬ºconstant(6)](btn,btn[┬º┬ºconstant(17)]);
  63.    };
  64.    f.h = function()
  65.    {
  66.    }[┬º┬ºconstant(13)] = function(btn)
  67.    {
  68.       btn[┬º┬ºconstant(16)](┬º┬ºconstant(15));
  69.       f.h[┬º┬ºconstant(6)](btn,btn[┬º┬ºconstant(17)]);
  70.    };
  71.    f.h = function()
  72.    {
  73.    }[┬º┬ºconstant(24)] = function()
  74.    {
  75.       _global[┬º┬ºconstant(26)][┬º┬ºconstant(27)](┬º┬ºconstant(25));
  76.    };
  77.    f.h = function()
  78.    {
  79.    }[┬º┬ºconstant(28)] = function(btn)
  80.    {
  81.       btn[┬º┬ºconstant(21)] = 50;
  82.       delete btn[┬º┬ºconstant(22)];
  83.       delete btn[┬º┬ºconstant(7)];
  84.       delete btn[┬º┬ºconstant(12)];
  85.       delete btn[┬º┬ºconstant(14)];
  86.       btn[┬º┬ºconstant(16)](┬º┬ºconstant(15));
  87.    };
  88.    ┬º┬ºpush(┬º┬ºconstant(29)(f.h[┬º┬ºconstant(4)],null,1));
  89. }
  90. §§pop();
  91.